package com.sidianzhong.sdz.mapper;

import com.sidianzhong.sdz.model.LimitRatio;
import com.sidianzhong.sdz.model.LimitRatioExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface LimitRatioMapper {
    long countByExample(LimitRatioExample example);

    int deleteByExample(LimitRatioExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(LimitRatio record);

    int insertSelective(LimitRatio record);

    List<LimitRatio> selectByExample(LimitRatioExample example);

    LimitRatio selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") LimitRatio record, @Param("example") LimitRatioExample example);

    int updateByExample(@Param("record") LimitRatio record, @Param("example") LimitRatioExample example);

    int updateByPrimaryKeySelective(LimitRatio record);

    int updateByPrimaryKey(LimitRatio record);

    LimitRatio selectByLevel(Integer level);
}